home *** CD-ROM | disk | FTP | other *** search
/ BBS Toolkit / BBS Toolkit.iso / doors_1 / iscolor.zip / ISCOLOR.DOC < prev    next >
Text File  |  1992-06-28  |  2KB  |  48 lines

  1. ISCOLOR       (c) 1992    Karl Schneider
  2.                           8505 Woodwick Ct.
  3.                           Tampa, FL 33615
  4.                           Voice: 813-884-9661 DAYS & EVENINGS
  5.                            BBS:   "   "    "  MIDNIGHT to 0800 EST only!
  6.                                               14.4 HST
  7.  
  8. ISCOLOR is a little quickie program to use with WILDCAT (may work
  9. with other BBS software which creates a DOOR.SYS file for Doors)
  10. that checks to see if the current caller is using Color or Mono
  11. mode.  It could be used as the first line in any DOORx.BAT file
  12. (or any of the 'hooks') to make sure the caller is using Color
  13. (graphics) before permitting entry into the game or whatever the
  14. activity is.
  15.  
  16. It simply exits with ERRORLEVEL 1 if the caller is in MONOCHROME
  17. and ERRORLEVEL 0 if in COLOR (Graphics).
  18.  
  19. Example:  SOMEGAME ( in a Door) requires Color (ANSI)....so here's
  20. a way to use ISCOLOR in DOORx.BAT
  21.  
  22. iscolor
  23. if errorlevel 1 goto nope
  24. SOMEGAME SOMEGAME.CFG
  25. goto end
  26. :nope
  27. outfile c:\wc30\stuff\nocolor.asc
  28. :end
  29.  
  30. If the user doesn't have color enabled, ISCOLOR exits with errorlevel
  31. 1 and branches to :nope where my 'OUTFILE' program sends the file
  32. c:\wc30\stuff\nocolor.asc to the user and exits.  This is, of course,
  33. optional...you can just omit this if you like.  I have included a
  34. streamlined version of OUTFILE in this archive for use as you like.
  35. If you choose to use it, fix the file pathname to reflect the file's
  36. name and location.
  37.  
  38. Thanks to Marvin Blackburn at DataBoard BBS in Crowley, TX for sug-
  39. gesting this program.  Marvin has also helped me with beta testing
  40. on other WC utilities.
  41.  
  42. If ISCOLOR is useful, I would appreciate a nominal contribution.  Any-
  43. one contributing $35 or more will be considered fully registered for
  44. ALL my WC 3.x utilities.  Thanks.
  45.  
  46. -ks-
  47.  
  48.